const data =[
          { "month": 1, "gdp": 3450, "growth": 6.1 },
          { "month": 2, "gdp": 3320, "growth": 5.8 },
          { "month": 3, "gdp": 3610, "growth": 6.3 },
          { "month": 4, "gdp": 3780, "growth": 6.5 },
          { "month": 5, "gdp": 3920, "growth": 6.7 }
        ]



     const first = data[0]
    for (const key in first) {
      if (Object.prototype.hasOwnProperty.call(first, key)) {
        const element = first[key];
console.log(key,element);

      }
    }

